#include "stdafx.h"
#include "System.h"


namespace Be
{
	Node::Node(Entity* p_pEntity)
		: m_pEntity(p_pEntity)
		, m_EntityName(p_pEntity->GetName())
		, m_IsValid(true)
	{
	}

	Node::~Node()
	{
	}

	void Node::Invalid()
	{
		m_pEntity = 0;
		m_IsValid = false;
	}

	Entity* Node::GetEntity()
	{
		return m_pEntity;
	}
}